﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PageMethod.aspx.cs" Inherits="AxialWeb.PageMethod" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>PageMethod Test</title>
</head>
<body>
    <form id="form1" runat="server">
		<p>
			<asp:Label runat="server" ID="lblChangeMe" Text="not changed" />
		</p>
		<p>
			<button onclick="ReturnTrue(ShowIt); return false;">Return True</button><br />
			<button onclick="ReturnObject(ShowIt); return false;">Return Object</button><br />
			<button onclick="ReflectInt(3, ShowIt); return false;">Reflect Int</button><br />
			<button onclick="Throw(function() { alert('success?'); }, function(err) { alert(err.Message + '\n' + err.StackTrace); }); return false;">Throw</button><br />
		</p>
		<axial:WFServerScript runat="server" />
		<axial:WFScript runat="server" MethodName="ShowIt" />
    </form>
</body>
</html>
